package com.wangp.javase.object_oop.phone;

/**
 * <p>
 * 第一行简要描述.
 * </p>
 *
 * @author wangping
 * @since 2024-12-15
 */
public class Phone {
    //属性

    String brand;
    Double price;



    //方法

    public void  call(){

        System.out.println("打电话");
    }

    public void  sendMessage(String message){
        System.out.println("发消息:"+message);
    }

    public void  takePhoto(){
        System.out.println("拍照");
    }

    public void  playGame(){
        System.out.println("玩游戏");
    }
}
